package service.impl;

import dao.UserDao;
import dao.impl.UserDaoimpl;
import pojo.User;
import service.UserService;

import java.util.List;

public class UserServiceimpl implements UserService {
    UserDao userDao = new UserDaoimpl();
    @Override
    public List<User> findAll() {

        List<User> users = userDao.findAll();

        return users;
    }
}
